import request from '@/utils/request'

// 统计数量
export function homeCount() {
  return request({
    url: '/biz/homePage/homeCount',
    method: 'get'
  })
}
// 风险饼图
export function getRiskPie() {
  return request({
    url: '/biz/homePage/getRiskPie',
    method: 'get'
  })
}

// 风险饼图
export function getEquipmentPie() {
  return request({
    url: '/biz/homePage/getEquipmentPie',
    method: 'get'
  })
}

// 应急预案柱状图
export function getEmergencyHistogram() {
  return request({
    url: '/biz/homePage/getEmergencyHistogram',
    method: 'get'
  })
}
